/* ============================================================
   WODZ LP V5 — « LE SITE EST LE LOGICIEL »
   Design system marketing. Continuité process-ops :
   lime / mono / scanlines / équerres — disciplinés.
   Thème dark par défaut, light via prefers-color-scheme.
   Compagnon : screens.css (fenêtre d'exploration + écrans).
   ============================================================ */

/* ------------------------------------------------------------
   0. FONDATIONS
   ------------------------------------------------------------ */
@font-face {
  font-family: 'Inter-fallback';
  src: local('Arial');
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

:root {
  /* Surfaces — gris anthracite plutôt que noir : sur un fond quasi noir,
     l'accent et les textes clairs vibraient (contraste perçu « violent »). */
  --bg:        #1F2128;
  --bg-raise:  #23252D;
  --bg-muted:  #1B1D23;
  --surface:   #272A32;
  --surface-2: #30333C;
  --line:      rgba(240, 240, 245, 0.12);
  --line-soft: rgba(240, 240, 245, 0.06);

  /* Encres — texte secondaire ≥ 5,5:1 sur toutes les surfaces */
  --text:   #ECECF0;
  --text-2: #C4C4CE;
  --text-3: #A9A9B5;

  /* Accent — lime Wodz, désaturé en sombre : ~12:1 au lieu de 16:1 sur le fond */
  --lime:       #C8DB5C;
  --lime-hover: #BCCF50;
  --lime-ink:   #D4E56E;           /* accent lisible sur fond */
  --lime-soft:  rgba(200, 219, 92, 0.10);
  --lime-edge:  rgba(200, 219, 92, 0.30);
  --on-lime:    #16180A;

  /* Statuts (écrans simulés) */
  --ok:        #4ade80;  --ok-bg:     rgba(74, 222, 128, 0.12);
  --danger:    #fc8f8f;  --danger-bg: rgba(252, 143, 143, 0.12);
  --warn:      #fbbf24;  --warn-bg:   rgba(251, 191, 36, 0.12);
  --info:      #38bdf8;  --info-bg:   rgba(56, 189, 248, 0.12);
  --violet:    #a78bfa;  --violet-bg: rgba(167, 139, 250, 0.13);
  --indigo:    #8b93f8;
  --pink:      #f472b6;

  /* Texture ops */
  --scan: rgba(240, 240, 245, 0.035);
  --grid: rgba(240, 240, 245, 0.05);

  /* Type */
  --sans: 'Inter', 'Inter-fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, Consolas, monospace;
  --fs-hero: clamp(2.1rem, 4.6vw, 3.35rem);
  --fs-h2:   clamp(1.65rem, 3.1vw, 2.35rem);
  --fs-h3:   1.28rem;

  /* Layout */
  --container: 1200px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --shadow-1: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 26px 70px rgba(0, 0, 0, 0.42);
  --t-fast: 0.16s ease-out;
  --t-med:  0.26s ease-out;

  /* Chrome header */
  --header-bg: rgba(31, 33, 40, 0.86);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg:        #FAFAFA;
    --bg-raise:  #F3F3F5;
    --bg-muted:  #F5F5F7;
    --surface:   #FFFFFF;
    --surface-2: #F6F6F8;
    --line:      rgba(14, 14, 18, 0.12);
    --line-soft: rgba(14, 14, 18, 0.06);

    --text:   #101014;
    --text-2: #5A5A64;
    --text-3: #6A6A74;   /* ≥ 4,9:1 sur les surfaces claires (3,4:1 avant) */

    --lime:       #C4F500;
    --lime-hover: #b3e000;
    --lime-ink:   #5d6b00;
    --lime-soft:  rgba(196, 245, 0, 0.18);
    --lime-edge:  rgba(140, 165, 0, 0.4);
    --on-lime:    #1a1c05;

    --ok:     #236B27;  --ok-bg:     rgba(35, 107, 39, 0.1);
    --danger: #C62828;  --danger-bg: rgba(198, 40, 40, 0.08);
    --warn:   #935600;  --warn-bg:   rgba(147, 86, 0, 0.1);
    --info:   #1565C0;  --info-bg:   rgba(21, 101, 192, 0.08);
    --violet: #6d5bd0;  --violet-bg: rgba(109, 91, 208, 0.1);
    --indigo: #4f46e5;
    --pink:   #be185d;

    --scan: rgba(14, 14, 18, 0.03);
    --grid: rgba(14, 14, 18, 0.055);

    --shadow-1: 0 8px 24px rgba(20, 20, 30, 0.09);
    --shadow-2: 0 24px 60px rgba(20, 20, 30, 0.13);
    --header-bg: rgba(250, 250, 250, 0.85);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--lime); color: var(--on-lime); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.mono { font-family: var(--mono); }

/* Icônes SVG inline — stroke, héritent de la couleur */
.ic {
  width: 1.05em; height: 1.05em;
  flex: none;
  vertical-align: -0.16em;
}

/* ------------------------------------------------------------
   1. SECTIONS — rythme, filets, index mono
   ------------------------------------------------------------ */
.section {
  position: relative;
  padding: 6.5rem 0;
}
.section--tight { padding: 4rem 0; }
.section--muted { background: var(--bg-muted); }
/* Fond grisé en thème clair seulement (le thème sombre garde le fond de page) */
@media (prefers-color-scheme: light) {
  .section--muted-light { background: var(--bg-muted); }
}
.section--raise { background: var(--bg-raise); }
.section--glow {
  background: radial-gradient(ellipse 90% 60% at 50% 0%, var(--lime-soft) 0%, transparent 60%);
}
.section > .container { position: relative; z-index: 1; }

/* Motif de la messagerie (icônes de sport dessinées) en fond de quelques
   sections, pour la convivialité. Image de fond et non masque d'image : un
   masque exige une requête CORS, qui échoue en file://. Fondu vers les bords
   pour que le motif ne fasse pas papier peint. */
.section--doodle { isolation: isolate; }
.section--doodle::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url('../img/messagerie/doodle-feutre.svg') 0 0 / 320px 320px repeat;
  opacity: 0.07; filter: invert(1);
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 50% 50%, #000 25%, transparent 80%);
          mask-image: radial-gradient(ellipse 75% 85% at 50% 50%, #000 25%, transparent 80%);
}
@media (prefers-color-scheme: light) {
  .section--doodle::after { filter: none; opacity: 0.06; }
}
/* Boutons transparents posés sur un motif (dessins ou quadrillage des
   hero) : fond plein, pour que le motif ne passe pas derrière le libellé. */
.section--doodle .btn--ghost,
.hero .btn--ghost { background: var(--bg); }
.section--doodle.section--muted .btn--ghost { background: var(--bg-muted); }
.section--doodle .btn--ghost:hover,
.hero .btn--ghost:hover { background: linear-gradient(var(--lime-soft), var(--lime-soft)) var(--bg); }
.section--doodle.section--muted .btn--ghost:hover { background: linear-gradient(var(--lime-soft), var(--lime-soft)) var(--bg-muted); }

/* Filet inter-sections + tick lime centré — signature ops conservée */
.section + .section { border-top: 1px solid var(--line-soft); }
.section + .section::before {
  content: "";
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 2px;
  background: var(--lime);
  opacity: 0.55;
}

/* En-tête de section : eyebrow // + titre + sous-titre */
.sec-head {
  max-width: 780px;
  margin: 0 auto 3.6rem;
  text-align: center;
}
.sec-head--left {
  margin-left: 0;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime-ink);
  margin-bottom: 1.1rem;
}
.eyebrow .slash { color: var(--text-3); font-weight: 500; }
.eyebrow .idx   { color: var(--text-3); font-weight: 500; letter-spacing: 0.12em; }
.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px var(--lime-soft);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px var(--lime-soft); }
  50%      { box-shadow: 0 0 0 8px transparent; }
}

.sec-title {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-transform: uppercase;
}
.sec-title .accent { color: var(--lime-ink); }

.sec-sub {
  margin: 1.1rem auto 0;
  max-width: 640px;
  color: var(--text-2);
  font-size: 1.02rem;
}
.sec-head--left .sec-sub { margin-left: 0; }

h1, h2, h3, h4 { margin: 0; }

/* ------------------------------------------------------------
   2. BOUTONS — mono, crochets sur le primaire
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), border-color var(--t-fast);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--lime);
  color: var(--on-lime);
  box-shadow: 0 6px 22px -8px var(--lime-edge);
}
.btn--primary::before { content: "[ "; opacity: 0.65; }
.btn--primary::after  { content: " ]"; opacity: 0.65; }
.btn--primary:hover {
  background: var(--lime-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -8px var(--lime-edge);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--lime-edge);
  background: var(--lime-soft);
}

.btn--large { padding: 1rem 1.7rem; font-size: 0.88rem; }
.btn--small { padding: 0.55rem 0.95rem; font-size: 0.72rem; }
.btn--block { width: 100%; }

.cta-pair {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.cta-pair--center { justify-content: center; }

/* Note sous CTA */
.cta-note {
  margin-top: 0.85rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--text-3);
}

/* ------------------------------------------------------------
   3. HEADER DU SITE
   ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex: none;
}
.logo__img { width: 34px; height: 34px; display: block; }

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-left: auto;
}
.nav > a, .nav-dd__trigger {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  text-decoration: none;
  transition: color var(--t-fast);
}
.nav > a:hover, .nav-dd__trigger:hover { color: var(--text); }

/* Dropdown modules */
.nav-dd { position: relative; }
.nav-dd__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 1.2rem 0;
}
.nav-dd__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 560px;
  padding: 0.6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
}
.nav-dd:hover .nav-dd__menu,
.nav-dd:focus-within .nav-dd__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dd__item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background var(--t-fast);
}
.nav-dd__item:hover { background: var(--lime-soft); }
/* Entrée « Pour les box » : pleine largeur, en tête du menu */
.nav-dd__item--feature { grid-column: 1 / -1; margin-bottom: 0.3rem; border: 1px solid var(--lime-edge); background: var(--lime-soft); }
.nav-dd__item--feature strong { color: var(--lime-ink); }
.nav-dd__item .ic {
  width: 17px; height: 17px;
  margin-top: 0.18rem;
  color: var(--lime-ink);
}
.nav-dd__item strong {
  display: block;
  font-size: 0.83rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.nav-dd__item small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-3);
  margin-top: 0.1rem;
}
.nav-dd__soon {
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime-ink);
  border: 1px solid var(--lime-edge);
  border-radius: 5px;
  padding: 0.08rem 0.32rem;
  margin-left: 0.4rem;
  vertical-align: 0.12em;
}
.nav-dd__foot {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line-soft);
  margin-top: 0.35rem;
  padding: 0.65rem 0.75rem 0.35rem;
}
.nav-dd__foot a {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime-ink);
  text-decoration: none;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 17px; height: 2px;
  background: var(--text);
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav mobile plein écran */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 5rem 2rem 2.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-nav.active { transform: translateX(0); }
.mobile-nav__close {
  position: absolute;
  top: 1rem; right: 1.2rem;
  width: 44px; height: 44px;
  font-size: 1.6rem;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
}
.mobile-nav > a {
  font-family: var(--mono);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav__sub {
  display: flex;
  flex-direction: column;
  padding: 0.4rem 0 0.6rem;
}
.mobile-nav__sub a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: var(--text-2);
  text-decoration: none;
  padding: 0.55rem 0.4rem;
}
.mobile-nav__sub .ic { color: var(--lime-ink); }
.mobile-nav .btn { margin-top: 1.4rem; }

/* ------------------------------------------------------------
   4. HERO
   ------------------------------------------------------------ */
.hero {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
}
/* grille blueprint + scanlines, fondu depuis le haut — réservé au hero */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 3px, var(--scan) 3px 4px),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 100% 4px, 56px 56px, 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% -10%, black, transparent 76%);
  mask-image: radial-gradient(ellipse at 50% -10%, black, transparent 76%);
}
/* coin accent diagonal haut-droite */
.hero::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 300px; height: 130px;
  background: linear-gradient(135deg, var(--lime), transparent 85%);
  clip-path: polygon(45% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.14;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero__head {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.hero__title {
  font-size: var(--fs-hero);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.04;
  text-transform: uppercase;
  margin: 0.4rem 0 1.2rem;
}
.hero__title .accent { color: var(--lime-ink); }
.hero__sub {
  max-width: 620px;
  margin: 0 auto 1.8rem;
  color: var(--text-2);
  font-size: 1.08rem;
}
.hero__sub strong { color: var(--text); font-weight: 650; }

/* statline mono encadrée */
.statline {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 0.9rem;
  margin-top: 1.7rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in oklab, var(--surface) 55%, transparent);
  font-family: var(--mono);
  font-size: 0.76rem;
}
.statline__item { white-space: nowrap; }
.statline__key { color: var(--text-3); }
.statline__val { color: var(--text); font-weight: 600; }
.statline__sep { color: var(--lime-ink); opacity: 0.55; }

/* Hero de page module : 2 colonnes texte / fenêtre */
.hero--module { padding: 3.4rem 0 4.5rem; }
.hero--module .hero__head {
  text-align: left;
  margin: 0 0 2.6rem;
  max-width: 760px;
}
.hero--module .hero__sub { margin-left: 0; }
.hero--module .statline { margin-top: 1.4rem; }

/* Fil d'ariane ops */
.crumb {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1.6rem;
  text-decoration: none;
}
.crumb a { color: var(--lime-ink); text-decoration: none; }
.crumb .slash { opacity: 0.6; }

/* ------------------------------------------------------------
   5. TRUST BAR — logos clients
   ------------------------------------------------------------ */
.trust-bar {
  padding: 2.4rem 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-raise);
}
.trust-bar__label {
  text-align: center;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 1.4rem;
}
.trust-bar__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.trust-bar__track {
  display: flex;
  align-items: center;
  gap: 3.4rem;
  width: max-content;
  animation: trust-scroll 36s linear infinite;
}
@keyframes trust-scroll {
  to { transform: translateX(-50%); }
}
.trust-bar__logo img {
  width: 62px; height: 62px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  opacity: 0.8;
  transition: opacity var(--t-fast);
}
.trust-bar__logo img:hover { opacity: 1; }
@media (prefers-color-scheme: light) {
  .trust-bar__logo img {
    mix-blend-mode: multiply;
    filter: grayscale(1) contrast(1.05);
    opacity: 0.6;
  }
  .trust-bar__logo img:hover { mix-blend-mode: normal; filter: none; opacity: 1; }
}

/* ------------------------------------------------------------
   6. CARTES GÉNÉRIQUES — équerre signature
   ------------------------------------------------------------ */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.7rem;
  box-shadow: var(--shadow-1);
}
/* équerre haut-gauche */
.card--corner::before {
  content: "";
  position: absolute;
  top: 11px; left: 11px;
  width: 9px; height: 9px;
  border-top: 2px solid var(--lime);
  border-left: 2px solid var(--lime);
  opacity: 0.5;
  pointer-events: none;
}

.card__icon {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--lime-soft);
  color: var(--lime-ink);
  margin-bottom: 1rem;
}
.card__icon .ic { width: 18px; height: 18px; }
.card__title {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.45rem;
}
.card__text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-2);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

/* ------------------------------------------------------------
   7. SPLIT — copy + visuel (deep-dives)
   ------------------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 3.2rem;
  align-items: center;
}
.split + .split { margin-top: 5.2rem; }
.split--flip { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.split--flip .split__copy { order: 2; }
.split--flip .split__visual { order: 1; }

.split__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime-ink);
  margin-bottom: 0.9rem;
}
.split__title {
  font-size: var(--fs-h3);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 0.9rem;
  text-transform: uppercase;
}
.split__text {
  color: var(--text-2);
  font-size: 0.96rem;
  margin: 0 0 1.2rem;
}
.split__text strong { color: var(--text); }

/* Liste à ticks */
.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.ticks--2col { grid-template-columns: 1fr 1fr; }
.ticks li {
  /* bloc + icône en absolu, pas flex : en flex, le <strong> et le texte qui
     le suit devenaient deux colonnes distinctes */
  position: relative;
  padding-left: calc(15px + 0.6rem);
  font-size: 0.9rem;
  color: var(--text-2);
}
.ticks li strong { color: var(--text); font-weight: 620; }
.ticks .ic {
  position: absolute;
  left: 0;
  top: 0.22rem;
  width: 15px; height: 15px;
  color: var(--lime-ink);
}

/* ------------------------------------------------------------
   8. BANDEAU CHIFFRES
   ------------------------------------------------------------ */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.metrics--3 { grid-template-columns: repeat(3, 1fr); }
.metric {
  position: relative;
  text-align: center;
  padding: 1.7rem 1rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.metric::before {
  content: "";
  position: absolute;
  top: 11px; left: 11px;
  width: 9px; height: 9px;
  border-top: 2px solid var(--lime);
  border-left: 2px solid var(--lime);
  opacity: 0.5;
}
.metric__value {
  display: block;
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum" 1;
  color: var(--text);
  line-height: 1.1;
}
.metric__label {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime-ink);
}
.metric__hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--text-3);
}

/* ------------------------------------------------------------
   9. TÉMOIGNAGES
   ------------------------------------------------------------ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
/* Cinq témoignages sur trois colonnes : la dernière rangée (deux cartes) est centrée. */
@media (min-width: 1025px) {
  .testimonials { grid-template-columns: repeat(6, 1fr); }
  .testimonials > .testimonial { grid-column: span 2; }
  .testimonials > .testimonial:nth-child(4):nth-last-child(2) { grid-column: 2 / 4; }
  .testimonials > .testimonial:nth-child(5):last-child { grid-column: 4 / 6; }
}
.testimonial {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 1.55rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.testimonial__head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.testimonial__photo img {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
}
.testimonial__name {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
}
.testimonial__role {
  margin: 0.1rem 0 0;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}
.testimonial__stars {
  margin-left: auto;
  color: var(--lime-ink);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.testimonial__quote {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-2);
  flex: 1;
}
.testimonial__org {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  text-decoration: none;
}
.testimonial__org img {
  width: 22px; height: 22px;
  border-radius: 6px;
  object-fit: cover;
}
.testimonial__org:hover { color: var(--text); }

/* ------------------------------------------------------------
   10. TARIFS
   ------------------------------------------------------------ */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.8rem 1.7rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
}
.plan--featured {
  border-color: var(--lime-edge);
  box-shadow: 0 0 0 1px var(--lime-edge), var(--shadow-2);
}
.plan--featured::after {
  content: "recommandé";
  position: absolute;
  top: -11px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--lime);
  color: var(--on-lime);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}
.plan__name {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime-ink);
  margin: 0 0 1rem;
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-bottom: 0.4rem;
}
.plan__amount {
  font-family: var(--mono);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-feature-settings: "tnum" 1;
  line-height: 1;
}
.plan__period {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-3);
  letter-spacing: 0.05em;
}
.plan__fees {
  font-size: 0.8rem;
  color: var(--text-3);
  margin: 0.4rem 0 0.9rem;
  line-height: 1.7;
}
.plan__fees strong { color: var(--text-2); }
.plan__fees a { color: var(--lime-ink); }
.plan__tagline {
  font-size: 0.85rem;
  color: var(--text-2);
  margin: 0 0 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line-soft);
}
.plan__includes {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.7rem;
}
.plan__features {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  flex: 1;
}
.plan__features li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--text-2);
}
.plan__features li strong { color: var(--text); }
.plan__features .ic {
  width: 14px; height: 14px;
  margin-top: 0.24rem;
  color: var(--lime-ink);
}

/* Tableau comparatif */
.compare-wrap {
  margin-top: 3.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 1.8rem;
}
.compare-title {
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 0.4rem;
}
.compare-sub {
  font-size: 0.86rem;
  color: var(--text-2);
  margin: 0 0 1.4rem;
}
.compare-scrollhint { display: none; }
.compare-scroll { overflow-x: auto; }
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.87rem;
  min-width: 640px;
}
.compare th, .compare td {
  padding: 0.75rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}
.compare thead th {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  vertical-align: top;
}
.compare thead .price {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.82rem;
  color: var(--text);
  font-feature-settings: "tnum" 1;
}
.compare .highlight {
  background: var(--lime-soft);
}
.compare tbody td { color: var(--text-2); }
.compare tbody td:first-child { color: var(--text); font-weight: 500; }
.compare .cat td {
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime-ink);
  padding-top: 1.5rem;
  border-bottom-color: var(--line);
}
.compare tfoot td { padding-top: 1.1rem; border-bottom: none; }

/* ------------------------------------------------------------
   11. FAQ
   ------------------------------------------------------------ */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 0.7rem;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-fast);
}
.faq-item.active { border-color: var(--lime-edge); }
.faq-item__q {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  padding: 1.05rem 3rem 1.05rem 2.9rem;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}
/* haltère lime — prop fitness signature */
.faq-item__q::before {
  content: "";
  position: absolute;
  left: 1.05rem; top: 50%;
  transform: translateY(-50%);
  width: 19px; height: 19px;
  background: var(--lime-ink);
  opacity: 0.85;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Crect%20x='1.5'%20y='8'%20width='3'%20height='8'%20rx='1'/%3E%3Crect%20x='5'%20y='5'%20width='3'%20height='14'%20rx='1'/%3E%3Crect%20x='8'%20y='10.5'%20width='8'%20height='3'/%3E%3Crect%20x='16'%20y='5'%20width='3'%20height='14'%20rx='1'/%3E%3Crect%20x='19.5'%20y='8'%20width='3'%20height='8'%20rx='1'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Crect%20x='1.5'%20y='8'%20width='3'%20height='8'%20rx='1'/%3E%3Crect%20x='5'%20y='5'%20width='3'%20height='14'%20rx='1'/%3E%3Crect%20x='8'%20y='10.5'%20width='8'%20height='3'/%3E%3Crect%20x='16'%20y='5'%20width='3'%20height='14'%20rx='1'/%3E%3Crect%20x='19.5'%20y='8'%20width='3'%20height='8'%20rx='1'/%3E%3C/svg%3E") center / contain no-repeat;
}
.faq-item__q::after {
  content: "+";
  position: absolute;
  right: 1.15rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 1.1rem;
  color: var(--lime-ink);
  transition: transform var(--t-fast);
}
.faq-item.active .faq-item__q::after { content: "−"; }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.active .faq-item__a { max-height: 900px; }
.faq-item__a p {
  margin: 0;
  padding: 0 1.3rem 1.2rem 2.9rem;
  font-size: 0.89rem;
  color: var(--text-2);
}
.faq-item__a a { color: var(--lime-ink); }

/* ------------------------------------------------------------
   12. CTA FINAL + FORM DÉMO
   ------------------------------------------------------------ */
.demo-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.demo-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 1.9rem;
  box-shadow: var(--shadow-2);
  position: relative;
}
.demo-form::before {
  content: "";
  position: absolute;
  top: 12px; left: 12px;
  width: 10px; height: 10px;
  border-top: 2px solid var(--lime);
  border-left: 2px solid var(--lime);
  opacity: 0.55;
}
.demo-form__title {
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 0.3rem;
}
.demo-form__sub {
  font-size: 0.86rem;
  color: var(--text-2);
  margin: 0 0 1.4rem;
}
.form-group { margin-bottom: 0.9rem; }
.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.92rem;
  transition: border-color var(--t-fast);
}
.form-input::placeholder { color: var(--text-3); }
.form-input:focus {
  outline: none;
  border-color: var(--lime-edge);
}
.radio-row {
  display: flex;
  gap: 0.7rem;
}
.radio-pill { flex: 1; }
.radio-pill input { position: absolute; opacity: 0; }
.radio-pill label {
  display: block;
  text-align: center;
  padding: 0.7rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-2);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.radio-pill input:checked + label {
  border-color: var(--lime-edge);
  background: var(--lime-soft);
  color: var(--text);
}
.radio-pill input:focus-visible + label { outline: 2px solid var(--lime); }

/* ------------------------------------------------------------
   13. FOOTER
   ------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--line-soft);
  background: var(--bg-muted);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand__title {
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  margin: 0 0 0.7rem;
}
.footer-brand__text {
  font-size: 0.86rem;
  color: var(--text-2);
  margin: 0 0 1rem;
  max-width: 300px;
}
.footer-brand__badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
}
.footer-col__title {
  display: block;
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime-ink);
  margin-bottom: 1rem;
}
.footer-col__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.footer-col__links a {
  font-size: 0.86rem;
  color: var(--text-2);
  text-decoration: none;
  transition: color var(--t-fast);
}
.footer-col__links a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--text-3);
}
.footer-bottom a { color: var(--lime-ink); text-decoration: none; }
/* Mentions des marques tierces, générées par _outils/mentions_marques.py */
.legal-marks { margin: 1.1rem 0 0; max-width: 980px; font-size: 0.68rem; line-height: 1.6; color: var(--text-3); }

/* ------------------------------------------------------------
   14. STICKY CTA / COOKIES / MODALES LÉGALES
   ------------------------------------------------------------ */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 55;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--lime-edge);
  transform: translateY(110%);
  transition: transform 0.3s ease;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.sticky-cta__text {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--text-2);
}
.sticky-cta__text strong { color: var(--text); }

.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  background: var(--surface);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.35s ease;
  box-shadow: var(--shadow-2);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.cookie-banner__text {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--text-2);
  flex: 1;
  min-width: 260px;
}
.cookie-banner__text a { color: var(--lime-ink); }
.cookie-banner__actions { display: flex; gap: 0.6rem; }

.legal-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
.legal-overlay.active { display: flex; }
.legal-modal {
  width: 100%;
  max-width: 760px;
  max-height: 84vh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.legal-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.legal-modal__title {
  font-size: 1.05rem;
  font-weight: 750;
}
.legal-modal__close {
  width: 38px; height: 38px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  font-size: 1.3rem;
  cursor: pointer;
}
.legal-modal__body {
  padding: 1.5rem;
  overflow-y: auto;
  font-size: 0.9rem;
  color: var(--text-2);
}
.legal-modal__body h3 { color: var(--text); margin: 1.4rem 0 0.5rem; font-size: 1rem; }
.legal-modal__body h3:first-child { margin-top: 0; }
.legal-modal__body a { color: var(--lime-ink); }
.legal-modal__body table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; }
.legal-modal__body th, .legal-modal__body td {
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.85rem;
  text-align: left;
}
.legal-modal__body th { color: var(--text); }

/* ------------------------------------------------------------
   15. PROSE SEO
   ------------------------------------------------------------ */
.prose {
  max-width: 780px;
  margin: 0 auto;
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.8;
}
.prose h2 {
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 1.4rem;
}
.prose h3 {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 2rem 0 0.7rem;
}
.prose p { margin: 0 0 1rem; }
.prose a { color: var(--lime-ink); }
.prose strong { color: var(--text); }

/* ------------------------------------------------------------
   16. RÉVÉLATION AU SCROLL + ACCESSIBILITÉ MOTION
   ------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------
   17. RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .grid-4, .metrics { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: repeat(2, 1fr); }
  .split, .split--flip { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .split--flip .split__copy { order: 1; }
  .split--flip .split__visual { order: 2; }
  .demo-grid { grid-template-columns: minmax(0, 1fr); gap: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header-cta .btn { display: none; }
  .header-cta .burger { display: flex; }
}

@media (max-width: 720px) {
  .section { padding: 4.4rem 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .plan--featured { order: -1; }
  .ticks--2col { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0 3.6rem; }
  .hero::after { width: 170px; height: 80px; }
  .statline { width: 100%; }
  .compare-scrollhint {
    display: block;
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lime-ink);
    margin: 0 0 0.6rem;
    animation: hint-slide 1.8s ease-in-out infinite;
  }
  @keyframes hint-slide {
    0%, 100% { transform: translateX(0); }
    50%      { transform: translateX(5px); }
  }
  .sticky-cta__text span { display: none; }
}

@media (max-width: 480px) {
  .grid-4, .metrics { grid-template-columns: 1fr; }
  .cta-pair .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MOBILE — corrections de la revue (390 px)
   ============================================================ */
.mobile-nav__cta { display: grid; gap: 0.6rem; margin-bottom: 1rem; }
.mobile-nav .mobile-nav__cta .btn { margin-top: 0; color: var(--on-lime); border-bottom: 0; padding: 0.9rem 1.2rem; justify-content: center; }
.mobile-nav__login {
  display: block; text-align: center;
  padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text); text-decoration: none;
}
.mobile-nav__group { border-bottom: 1px solid var(--line-soft); }
.mobile-nav__group > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: baseline; gap: 0.6rem;
  padding: 0.8rem 0;
  font-family: var(--mono); font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text);
}
.mobile-nav__group > summary::-webkit-details-marker { display: none; }
.mobile-nav__group > summary span { font-size: 0.66rem; color: var(--text-3); }
.mobile-nav__group > summary::after { content: "+"; margin-left: auto; color: var(--lime-ink); }
.mobile-nav__group[open] > summary::after { content: "−"; }
.mobile-nav__sub a[aria-current="page"] { color: var(--lime-ink); font-weight: 600; }
.mobile-nav { padding-top: 1rem; }
.mobile-nav__close { position: sticky; top: 0; align-self: flex-end; margin: 0 -0.6rem 0.8rem 0; background: var(--bg); z-index: 1; flex: none; }
.prose h2 { line-height: 1.15; }

@media (max-width: 860px) {
  .header-cta { margin-left: auto; }
  .burger { width: 44px; height: 44px; }
}

@media (max-width: 720px) {
  .btn--small, .cookie-banner .btn { min-height: 44px; }
  .footer-col__links { gap: 0; }
  .footer-col__links a { display: block; padding: 0.55rem 0; }
  /* cartes « L'essentiel du module » : icône à côté du titre, texte plus court */
  .grid-4 .card { display: grid; grid-template-columns: auto 1fr; column-gap: 0.8rem; align-items: center; padding: 1.1rem 1.1rem 1.2rem; }
  .grid-4 .card .card__icon { margin: 0; }
  .grid-4 .card .card__title { margin: 0; }
  .grid-4 .card .card__text { grid-column: 1 / -1; margin: 0.55rem 0 0; }
  /* légendes « Ce que vous regardez » : titre + deux lignes */
  .callout { padding: 0.7rem 0.85rem; }
  .callout__text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .callout.is-active .callout__text, .callout:focus .callout__text { -webkit-line-clamp: unset; display: block; }
  /* texte de référencement replié (os.js ajoute le bouton) */
  .prose.prose--folded > :not(h2:first-child):not(p:first-of-type):not(.prose-more) { display: none; }
  .prose-more {
    display: inline-flex; margin-top: 0.4rem; padding: 0.6rem 1rem; min-height: 44px; align-items: center;
    border: 1px solid var(--line); border-radius: 10px; background: none; color: var(--lime-ink);
    font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
  }
  .hero__hint { display: none; }
}
@media (min-width: 721px) { .prose-more { display: none; } }

@media (max-width: 480px) {
  .metrics { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .metric { padding: 1.1rem 0.7rem 1rem; }
  .metric__value { font-size: clamp(1.15rem, 6.2vw, 1.6rem); }
  .sticky-cta__text { display: none; }
  .sticky-cta__inner { padding: 0.55rem 1rem calc(0.55rem + env(safe-area-inset-bottom)); }
  .sticky-cta .btn { width: 100%; min-height: 46px; justify-content: center; }
}

/* Application à l'image de la salle (section #app de l'accueil) */
.app-custom {
  margin-top: 1.4rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--lime-edge);
  border-radius: var(--r-md);
  /* teinte lime posée sur un fond plein : les motifs de la section ne passent pas au travers */
  background: linear-gradient(var(--lime-soft), var(--lime-soft)) var(--bg-muted);
}

/* Téléphone de la section App : capture réelle de l'app adhérent dans un boîtier dessiné */
.app-phone {
  display: inline-block;
  width: 280px;
  padding: 10px;
  border-radius: 44px;
  background: linear-gradient(145deg, #2c2f35, #0e0f12 60%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 30px 60px -20px rgba(0, 0, 0, 0.45);
}
.app-phone__scr {
  position: relative;
  display: flex; flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 34px;
  background: #fff;
  text-align: left;
}
.app-phone__island { position: absolute; top: 9px; left: 50%; width: 84px; height: 24px; transform: translateX(-50%); border-radius: 99px; background: #0b0c0e; }
.app-phone__status { flex: none; display: flex; justify-content: space-between; align-items: center; height: 42px; padding: 0 26px 0 30px; }
.app-phone__status b { font: 600 13px/1 -apple-system, "SF Pro Text", Inter, sans-serif; color: #0b0c0e; }
.app-phone__status i { width: 24px; height: 11px; border-radius: 3px; border: 1.5px solid #0b0c0e; position: relative; }
.app-phone__status i::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; border-radius: 1px; background: #0b0c0e; }
.app-phone__scr img { display: block; width: 100%; height: auto; flex: none; }
/* marge du bas : les coins arrondis ne rognent pas la barre d'onglets, place pour la barre d'accueil */
.app-phone__scr { padding-bottom: 20px; }
.app-phone__scr::after { content: ""; position: absolute; bottom: 7px; left: 50%; width: 96px; height: 4px; transform: translateX(-50%); border-radius: 99px; background: #0b0c0e; }
@media (max-width: 480px) {
  .app-phone { width: 240px; padding: 9px; border-radius: 38px; }
  .app-phone__scr { border-radius: 29px; }
}
.app-custom__tag {
  display: inline-block; margin-bottom: 0.35rem;
  font-family: var(--mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--lime-ink);
}
.app-custom p { margin: 0; font-size: 0.9rem; color: var(--text-2); }
.app-custom strong { color: var(--text); }
